<!DOCTYPE html>
<html>
<head>
  <script src="http://www.w3school.com.cn/jquery/jquery-1.11.1.min.js"></script>
  <!-- <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> -->
</script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $.post("http://www.w3school.com.cn/example/jquery/demo_test_post.asp",
    {
      name:"Donald Duck",
      city:"Duckburg"
    },
    function(data,status){
      alert("" + data + "\n" + status);
    });
  });
});
</script>
</head>
<body>

<button> HTTP POST </button>

</body>
</html>